package cos.android.platform;


import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.widget.TextView;

public class Platform extends Activity {
    
	private PlatformThread platformThread;
	
	private PlatformView platformView;
	
	private TextView textLife;
	
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
        
        setContentView(R.layout.main);
        
        platformView = (PlatformView) findViewById(R.id.platform);
        platformThread = platformView.getPlatformThread();
        
        textLife = (TextView)findViewById(R.id.timer);
        platformView.setLifeView(textLife);
        
        SoundManager.loadSound(this);
         
    }
   
    
}